//
//  RSMutableLineTextItem.h
//  StaffTax
//
//  Created by 侯伟 on 2020/5/9.
//  Copyright © 2020 侯伟. All rights reserved.
//  文本多行显示不折叠(展示用)

#import "MyLinearLayout.h"

NS_ASSUME_NONNULL_BEGIN

@interface RSMutableLineTextItem : MyRelativeLayout

/// 标题
@property(nonatomic,copy,nullable)NSString* title;

/// 属性标题
@property(nonatomic,copy,nullable)NSAttributedString* attributedTitle;

/// 默认 COLOR_GRAY_BASE
@property(nonatomic,strong)UIColor* titleColor;

/// 默认 FONT_FIT(12)
@property(nonatomic,strong)UIFont* titleFont;


/// 显示文本 居左显示
@property(nonatomic,copy,nullable)NSString* content;

/// 属性文本
@property(nonatomic,copy,nullable)NSAttributedString* attributedContent;

/// 默认 COLOR_GRAY_BASE
@property(nonatomic,strong)UIColor* contentColor;

/// 默认 FONT_FIT(12)
@property(nonatomic,strong)UIFont* contentFont;

/// content 文本是否只显示一行, 默认显示多行
@property(nonatomic,assign)BOOL isSingleLine;

/// init
/// @param title -
+ (instancetype)itemWithTitle:(NSString *)title;

/// init
/// @param title -
+ (instancetype)itemWithTitle:(NSString *)title isSingleLine:(BOOL)isSingleLine;


@end

NS_ASSUME_NONNULL_END
